Repository navigation
feat(devops): take the application version from the portal - #7
Open
tibou-tech wants to merge 1 commit into
Open
tibou-tech wants to merge 1 commit into
tibou-tech wants to merge 1 commit into
Conversation
The version is the latest GitHub release. The portal sends it in the X-Release-Version header of the health request, the package keeps it for seven days and the developer console shows it. Without a known version the console hides the line. APP_VERSION and devops.version are no longer read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
APP_VERSIONanddevops.versionare no longer read. An application that still has them ignores them.X-Release-Versionheader of the health request.1.2.3andv1.2.3are accepted, and only after the token check.sprintify_versionkeeps its name in the health response, with the received version ornull.To decide
Removing a documented config key is a contract change: the strict rule of
CONTRIBUTING.mdasks for a major version of every package, with anUPGRADE.md. Nothing breaks in an application that keeps the key, and the portal does not read the value, so a minor is also possible. The changelog stays underUnreleaseduntil that choice is made.To know
Tests
35 tests of
devops, Pint and PHPStan pass on PHP 8.4. The other Laravel versions run in the CI of this pull request.🤖 Generated with Claude Code